package com.freda.oa.flow.run.model.itf;

import com.freda.oa.flow.run.vo.FlowRunInfoVo;
/**
 * 
 * @author Rally
 *
 */
public interface FlowTaskModelItf {
	/**
	 * 添加任务
	 * @param runInfo
	 * @return
	 */
	public abstract int addTask(FlowRunInfoVo runInfo);
	/**
	 * 锁定处理人
	 * @param runInfo
	 * @return
	 */
	public abstract int lockAssignee(FlowRunInfoVo runInfo);
	/**
	 * 解锁处理人
	 * @param runInfo
	 * @return
	 */
	public abstract int unLockAssignee(FlowRunInfoVo runInfo);
	/**
	 * 删除任务
	 * @param runInfo
	 * @return
	 */
	public abstract int delTask(FlowRunInfoVo runInfo);
	/**
	 * 编辑任务
	 * @param runInfo
	 * @return
	 */
	public abstract int editTask(FlowRunInfoVo runInfo);

}